<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>Dashboard Template for Bootstrap</title>

    <!-- Bootstrap core CSS -->
    <link href="/appstore/Public/assets/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="/appstore/Public/assets/css/dashboard.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="/appstore/Public/assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="/appstore/Public/assets/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">APP Store</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav navbar-right">            
            <li><a href="<?php echo U('login/logout');?>">注销</a></li>
          </ul>          
        </div>
      </div>
    </nav>

    <div class="container-fluid">
      <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
          <ul class="nav nav-sidebar">
            <li class="active"><a href="<?php echo U('user/index');?>">用户维护 <span class="sr-only">(current)</span></a></li>
            <li><a href="<?php echo U('apptype/index');?>">App类型维护</a></li>
            <li><a href="#">App维护</a></li>
            <li><a href="#">新闻维护</a></li>
          </ul>
          
          
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<form action="<?php echo U('add');?>" method="post" class="form-horizontal" enctype="multipart/form-data">

   <div class="form-group">
    <label for="zjs_appname" class="col-sm-2 control-label">APP类型</label>
    <div class="col-sm-10">
      <input type="text" name="zjs_appname" class="form-control" id="zjs_appname" placeholder="APP名称"  required>
    </div>
  </div>


  <div class="form-group">
    <label for="zjs_typename" class="col-sm-2 control-label">APP类型</label>
    <div class="col-sm-10">
      <select name="zjs_typeid">
      <?php if(is_array($atlist)): $i = 0; $__LIST__ = $atlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$apt): $mod = ($i % 2 );++$i;?><option value="<?php echo ($apt["zjs_id"]); ?>"><?php echo ($apt["zjs_typename"]); ?> </option><?php endforeach; endif; else: echo "" ;endif; ?>
      </select>



    </div>
  </div>


 

  <div class="form-group">
      <div class="col-sm-10 col-sm-offset-2">
      <input class="btn btn-primary" type="submit" value="提交">
      <input class="btn btn-primary" type="reset" value="取消">
      </div>
  </div>

</form>
</div>
      </div>
    </div>

    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="/appstore/Public/assets/js/jquery/1.11.3/jquery.min.js"></script>
    <script src="/appstore/Public/assets/js/bootstrap.min.js"></script>
    <!-- Just to make our placeholder images work. Don't actually copy the next line! -->
    <script src="/appstore/Public/assets/js/vendor/holder.min.js"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="/appstore/Public/assets/js/ie10-viewport-bug-workaround.js"></script>
  </body>
</html>